import { NgModule } from '@angular/core';
import { NZ_ICONS, NzIconModule } from 'ng-zorro-antd/icon';

import {
  MenuFoldOutline,
  MenuUnfoldOutline,
  FormOutline,
  DashboardOutline,
  SearchOutline,
  DownloadOutline,
  LeftOutline,
  RightOutline,
  LoadingOutline,
  DownOutline,
  CloudOutline,
  CloudDownloadOutline,
  PoweroffOutline,
  HighlightOutline,
  SmileFill,
  SettingOutline,
  UserOutline,
  InfoCircleOutline,
  SolutionOutline,
  PlusCircleOutline,
  MessageOutline,
  CameraOutline,
  InstagramOutline
} from '@ant-design/icons-angular/icons';

const icons = [
  MenuFoldOutline,
  MenuUnfoldOutline,
  DashboardOutline,
  FormOutline,
  SearchOutline,
  DownloadOutline,
  LeftOutline,
  RightOutline,
  LoadingOutline,
  DownOutline,
  CloudOutline,
  CloudDownloadOutline,
  PoweroffOutline,
  HighlightOutline,
  SmileFill,
  SettingOutline,
  UserOutline,
  InfoCircleOutline,
  SolutionOutline,
  PlusCircleOutline,
  MessageOutline,
  CameraOutline,
  InstagramOutline
];

@NgModule({
  imports: [NzIconModule],
  exports: [NzIconModule],
  providers: [{ provide: NZ_ICONS, useValue: icons }],
})
export class IconsProviderModule {}
